package com.lhc.singleton;

public class Test {
    public static void main(String[] args) {
        //创建实例化对象
        Student st0=new Student("张三","男",24);
        Student st1=new Student("张三","男",24);

        System.out.println(st1.equals(st0));

    }
}
